package com.atguigu.exam.mapper;

import com.atguigu.exam.entity.Paper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author 86158
 * @description 针对表【paper(试卷表)】的数据库操作Mapper
 * @createDate 2025-06-20 22:37:43
 * @Entity com.exam.entity.Paper
 */
@Mapper
public interface PaperMapper extends BaseMapper<Paper> {
    /**
     * 获取试卷并包含题目
     *
     * @param id
     * @return
     */
    Paper getDetailById(Integer id);
}